package com.zenghus.jdbccore;

import java.util.List;

import com.zenghus.jdbccore.BaseDao;


public interface  BaseService{
	
	public abstract BaseDao getDao();

	public <T> void add(T t)  throws Exception;
	
	public <T> void update(T t)  throws Exception;
	
	public <T> void delete(Object... ids) throws Exception;;
	
	public <T> List<T> queryByList(T obj) throws Exception;

	public <T> T queryById(Object id) throws Exception;



}
